/**
 * 用户导航
 * 
 * @param userId 用户ID
 */
export const useUserNavs = (userId: string | null) => {
    return [
        { title: '首页', color: '#db5048', icon: 'ri-home-line', english: 'Home', url: '/user/' + userId },
        { title: '点赞', color: '#db5048', icon: 'ri-heart-line', english: 'Likes', url: '/user/' + userId + '/like' },
        { title: '收藏夹', color: '#736ce7', icon: 'ri-star-line', english: 'Favorites', url: '/user/' + userId + '/favorites' },
        { title: '足迹', color: '#2b95db', icon: 'ri-eye-line', english: 'Looks', url: '/user/' + userId + '/look' },
        { title: '评论', color: '#35a8df', icon: 'ri-chat-2-line', english: 'Comments', url: '/user/' + userId + '/comment' },
        { title: '购买', color: '#db5048', icon: 'ri-alipay-line', english: 'Pays', url: '/user/' + userId + '/pay' },
        { title: '粉丝', color: '#c9412e', icon: 'ri-user-heart-line', english: 'Fans', url: '/user/' + userId + '/fans' },
        { title: '关注', color: '#9d38d3', icon: 'ri-user-star-line', english: 'Follow', url: '/user/' + userId + '/follow' },
        { title: '访客', color: '#f3474d', icon: 'ri-user-shared-line', english: 'Ulook', url: '/user/' + userId + '/ulook' },
        { title: '访问', color: '#07975c', icon: 'ri-user-received-line', english: 'Mlook', url: '/user/' + userId + '/mlook' },
        { title: '签到', color: '#e36a26', icon: 'ri-calendar-2-line', english: 'Sign', url: '/user/' + userId + '/sign' },
        { title: '积分', color: '#367bdf', icon: 'ri-database-2-line', english: 'Points', url: '/user/' + userId + '/points' },
        { title: '设置', color: '#d72a6c', icon: 'ri-settings-3-line', english: 'Setting', url: '/user/' + userId + '/setting' }
    ]
}

/**
 * 后台导航
 */
export const useAdminNavs = () => {
    return [
        { title: '管理首页', english: 'Home', icon: 'ri-home-fill', color: '#db5048', url: '/admin' },
        { title: '菜单管理', english: 'Menus', icon: 'ri-align-item-left-fill', color: '#db5048', url: '/admin/menus' },
        { title: '文章管理', english: 'Articles', icon: 'ri-file-3-fill', color: '#736ce7', url: '/admin/articles' },
        { title: '评论管理', english: 'Comments', icon: 'ri-chat-2-fill', color: '#2b95db', url: '/admin/comments' },
        { title: '标签管理', english: 'Tags', icon: 'ri-price-tag-3-fill', color: '#35a8df', url: '/admin/tags' },
        { title: '权限管理', english: 'Permissions', icon: 'ri-file-shield-fill', color: '#db5048', url: '/admin/permissions' },
        { title: '角色管理', english: 'Roles', icon: 'ri-shield-user-fill', color: '#1573fa', url: '/admin/roles' },
        { title: '用户角色', english: 'Uroles', icon: 'ri-shield-flash-fill', color: '#37abaf', url: '/admin/uRoles' },
        { title: '文件管理', english: 'Files', icon: 'ri-folder-3-fill', color: '#9d38d3', url: '/admin/files' },
        { title: '隐藏文件', english: 'HideFiles', icon: 'ri-folder-shield-fill', color: '#9d38d3', url: '/admin/files/hide' },
        { title: '用户管理', english: 'Users', icon: 'ri-folder-user-fill', color: '#f3474d', url: '/admin/users' },
        { title: '友链管理', english: 'Links', icon: 'ri-linkedin-box-fill', color: '#07975c', url: '/admin/links' },
        { title: '公告管理', english: 'Notice', icon: 'ri-megaphone-fill', color: '#e36a26', url: '/admin/notices' },
        { title: '订单列表', english: 'WxPay', icon: 'ri-megaphone-fill', color: '#e36a26', url: '/admin/wxPay' },
        { title: '积分管理', english: 'Points', icon: 'ri-database-2-fill', color: '#367bdf', url: '/admin/points' },
        { title: '系统设置', english: 'Setting', icon: 'ri-settings-3-fill', color: '#d72a6c', url: '/admin/setting' }
    ]
}